﻿{% extends 'BaseLayout.html'%}
{% block content %}
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/Project">PowerTeam</a>
        </div>
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                {% block navs %}
                {% endblock %}
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a id="profile" data-toggle="dropdown" href="#"><i class="fa fa-user fa-fw"></i>((session['username']))<span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu" aria-labelledby="profile">
                        <li><a role="menuitem" href="/Profile"><i class="fa fa-info fa-fw"></i>修改信息</a></li>
                        <li><a role="menuitem" href="/Profile"><i class="fa fa-key fa-fw"></i>修改密码</a></li>
                        <li><a role="menuitem" href="/SignOut"><i class="fa fa-sign-out fa-fw"></i>注销</a></li>
                    </ul>
                </li>
                <li><a href="/SignOut"><i class="fa fa-sign-out fa-fw"></i>注销</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="subcontent">
    {% block subcontent %}
    {% endblock %}
</div>
{% endblock %}